.class Lcom/example/usercenter/UserCenterActivity2$1;
.super Landroid/os/Handler;
.source "UserCenterActivity2.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/usercenter/UserCenterActivity2;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/usercenter/UserCenterActivity2;


# direct methods
.method constructor <init>(Lcom/example/usercenter/UserCenterActivity2;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    .line 129
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 12
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/16 v11, 0xbb8

    const/4 v10, 0x0

    .line 132
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 133
    iget v8, p1, Landroid/os/Message;->arg1:I

    packed-switch v8, :pswitch_data_0

    .line 180
    :cond_0
    :goto_0
    return-void

    .line 136
    :pswitch_0
    iget-object v8, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v8}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 137
    .local v0, "alarm":Ljava/lang/String;
    if-eqz v0, :cond_0

    .line 138
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$2(Lcom/example/usercenter/UserCenterActivity2;)Landroid/content/Context;

    move-result-object v8

    invoke-static {v8, v0, v10}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 143
    .end local v0    # "alarm":Ljava/lang/String;
    :pswitch_1
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$2(Lcom/example/usercenter/UserCenterActivity2;)Landroid/content/Context;

    move-result-object v8

    const-string v9, "\u60a8\u5df2\u662f\u5546\u5bb6\u4f1a\u5458"

    invoke-static {v8, v9, v11}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 146
    :pswitch_2
    new-instance v3, Landroid/content/Intent;

    invoke-direct {v3}, Landroid/content/Intent;-><init>()V

    .line 147
    .local v3, "intent":Landroid/content/Intent;
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$2(Lcom/example/usercenter/UserCenterActivity2;)Landroid/content/Context;

    move-result-object v8

    const-class v9, Lcom/example/m6wmr/ShopinActivity;

    invoke-virtual {v3, v8, v9}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 148
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    invoke-virtual {v8, v3}, Lcom/example/usercenter/UserCenterActivity2;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 152
    .end local v3    # "intent":Landroid/content/Intent;
    :pswitch_3
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$2(Lcom/example/usercenter/UserCenterActivity2;)Landroid/content/Context;

    move-result-object v8

    const-string v9, "userInfo"

    invoke-virtual {v8, v9, v10}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v7

    .line 153
    .local v7, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v8, "logo"

    const-string v9, ""

    invoke-interface {v7, v8, v9}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 154
    .local v4, "logo":Ljava/lang/String;
    const-string v8, "score"

    const-string v9, "0"

    invoke-interface {v7, v8, v9}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    .line 155
    .local v6, "score":Ljava/lang/String;
    const-string v8, "cost"

    const-string v9, "0"

    invoke-interface {v7, v8, v9}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 156
    .local v1, "cost":Ljava/lang/String;
    const-string v8, "juancount"

    const-string v9, "0"

    invoke-interface {v7, v8, v9}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 157
    .local v2, "coupon":Ljava/lang/String;
    const-string v8, "username"

    const-string v9, ""

    invoke-interface {v7, v8, v9}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 159
    .local v5, "name":Ljava/lang/String;
    const-string v8, "logo----"

    invoke-static {v8, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 160
    const-string v8, "score----"

    invoke-static {v8, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 161
    const-string v8, "cost----"

    invoke-static {v8, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 162
    const-string v8, "logo----"

    invoke-static {v8, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 163
    const-string v8, "coupon----"

    invoke-static {v8, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 164
    const-string v8, "name----"

    invoke-static {v8, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 167
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->tv_balance:Landroid/widget/TextView;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$4(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 168
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->tv_coupon:Landroid/widget/TextView;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$5(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 169
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->tv_intergral:Landroid/widget/TextView;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$6(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 170
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->username:Landroid/widget/TextView;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$7(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;

    move-result-object v8

    invoke-virtual {v8, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 171
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$8(Lcom/example/usercenter/UserCenterActivity2;)Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v8

    iget-object v9, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->user_icon:Landroid/widget/ImageView;
    invoke-static {v9}, Lcom/example/usercenter/UserCenterActivity2;->access$9(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/ImageView;

    move-result-object v9

    invoke-static {}, Lmyapp/MyApp;->getDefaultOptions()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v10

    invoke-virtual {v8, v4, v9, v10}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    goto/16 :goto_0

    .line 174
    .end local v1    # "cost":Ljava/lang/String;
    .end local v2    # "coupon":Ljava/lang/String;
    .end local v4    # "logo":Ljava/lang/String;
    .end local v5    # "name":Ljava/lang/String;
    .end local v6    # "score":Ljava/lang/String;
    .end local v7    # "sharedPreferences":Landroid/content/SharedPreferences;
    :pswitch_4
    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2$1;->this$0:Lcom/example/usercenter/UserCenterActivity2;

    # getter for: Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;
    invoke-static {v8}, Lcom/example/usercenter/UserCenterActivity2;->access$2(Lcom/example/usercenter/UserCenterActivity2;)Landroid/content/Context;

    move-result-object v8

    const-string v9, "\u5ba1\u6838\u4e2d"

    invoke-static {v8, v9, v11}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 133
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method
